package com.zackratos.navbarexist.navbarexist

import android.app.Activity
import android.view.ViewGroup

/**
 * @Author   : zackratos
 * @Date     : 2021/8/23 2:00 下午
 * @email    : zhangwenchao@soulapp.cn
 * @Describe :
 */
internal val Activity.decorView: ViewGroup?
    get() = window?.decorView as ViewGroup?

internal val Activity.child1: ViewGroup?
    get() = decorView?.getChildAt(0) as ViewGroup?